package com.xdtech.transportation.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.transportation.model.TranDriver;
import com.xdtech.transportation.vo.TranDriverItem;

/**
 * 
 * @author max.zheng
 * @create 2015-03-17 14:04:31
 * @since 1.0
 * @see
 */
public interface TranDriverService extends IBaseService<TranDriver>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2015-03-17 14:04:31
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdateTranDriver(TranDriverItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2015-03-17 14:04:31
	 * @modified by
	 * @param newId
	 * @return
	 */
	TranDriverItem loadTranDriverItem(Long tranDriverId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2015-03-17 14:04:31
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deleteTranDriverInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-03-17 14:04:31
	 * @modified by
	 * @param tranDriverIds
	 */
	boolean deleteTranDriverInfo(List<Long> tranDriverIds);
}
